package epam.car.rent;
/**
 * Describes a manager entity that has only manager name and manager password
 * @author Alexander Tretyak
 *
 */
public class Manager extends Management {
	private String name;
	private String password;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public Manager(String name, String pass) {
		this.setName(name);
		this.setPassword(pass);
	}
	public long getId(){
		return -1;
	}
	public String toString(){
		return this.getName() + " " + this.getPassword();
	}
}
